package com.jwt.mone.controller;

import com.jwt.mone.common.Result;
import com.jwt.mone.service.DemoService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/house")
@Api(value = "/house", tags = "house")
public class MemberController {

    @Resource
    DemoService demoService;

    @ApiOperation(value = "房源页面初始化的接口")
    @GetMapping(value = "/initHouse")
    public Result initHouse() {
        return demoService.demo();
    }
}
